﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using RPGX.Data;

namespace RPGX.AuthenticationServer
{
    public class AuthenticationResult
    {
        #region Properties

        public bool CouldConnectToServer
        {
            get { return _couldConnectToServer; }
            set { _couldConnectToServer = value; }
        }
        private bool _couldConnectToServer = false;

        public bool Authenticated
        {
            get { return _authenticated; }
            set { _authenticated = value; }
        }
        private bool _authenticated = false;

        public Int64 ClientAccountId
        {
            get { return _clientAccountId; }
            set { _clientAccountId = value; }
        }
        private Int64 _clientAccountId = 0;

        public string ServerName
        {
            get { return _serverName; }
            set { _serverName = value; }
        }
        private string _serverName = String.Empty;

        public string ServerAddress
        {
            get { return _serverAddress; }
            set { _serverAddress = value; }
        }
        private string _serverAddress = String.Empty;

        public int ServerPort
        {
            get { return _serverPort; }
            set { _serverPort = value; }
        }
        private int _serverPort = 0;

        #endregion
    }
}
